package cn.colat.micse.gateway.utils;


import java.util.UUID;

public class IDUtils {
    public static String nanoId() {
        return NanoIdUtil.randomNanoId();
    }

    public static String nanoId(int len) {
        return NanoIdUtil.randomNanoId(len);
    }

    public static String getRandomUUID() {
        return UUID.randomUUID().toString().replace("-", "");
    }
}
